package com.qf.oop.extend;

public class DogDemo {
    public static void main(String[] args) {
        Dog dog = new Dog();
        dog.age =1;
//        dog.sex="公";
        dog.setSex("公");
        dog.breed="哈士奇";
        dog.furColor="黑白";
        System.out.println(dog.breed);
        System.out.println(dog.getSex());
        System.out.println(dog.age);
        System.out.println(dog.furColor);

        dog.sleep();
        dog.eat();
        dog.run();
    }
}
